﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using HighDiveEngine.Model;

namespace HighDiveEngine.Resources
{
    public class DiverEventArgs : EventArgs
    {
        public string IdNumber { get; set; }
        public int ?StartNumber { get; set; }
        public int? DbId { get; set; }
        public string FirstName { get; set; }
        public string LastName { get; set; }
        public Gender Gender { get; set; }
        public string Club { get; set; }
        public string Email { get; set; }
        public string Address { get; set; }
    }

    public class DiveEventArgs : EventArgs
    {
        public int DiveNumber { get; set; }
        public int? DbId { get; set; }
        public string DiveCode { get; set; }
        public int? DiveHeight { get; set; }
        public double? Difficulty { get; set; }
        public Diver Diver { get; set; }
        public DiveScoreArgs[] DiveScores { get; set; }
    }

    public class JudgeEventArgs : EventArgs
    {
        public string IdNumber { get; set; }
        public string FirstName { get; set; }
        public string LastName { get; set; }
        public string Club { get; set; }
        public string Email { get; set; }
        public string Address { get; set; }
        public int JudgeNumber { get; set; }
        public Gender Gender { get; set; }
    }

    public class DiveScoreArgs : EventArgs
    {
        public int JudgeNumber { get; set; }

        public double Score { get; set; }  
    }

    public class ContestArgs : EventArgs
    {
        public string Name { get; set; }
        public DateTime Date { get; set; }
        public DateTime Time { get; set; }
        public string City { get; set; }
        public string Club { get; set; }
        public string Country { get; set; }
    }
}
